Klasse DefaultColorProvider

java.lang.Object
com.inet.pdfc.print.DefaultColorProvider
Alle implementierten Schnittstellen:
ColorProvider, Serializable

public class DefaultColorProvider extends Object implements ColorProvider
Provides the colors used by the Painter to paint the Markers for the Difference Groups and their modifications.
Seit:
4.1
Siehe auch:
  • Konstruktordetails

    • DefaultColorProvider

      public DefaultColorProvider()
  • Methodendetails

    • getMarkerColor

      @Deprecated public @Nonnull Color getMarkerColor(DiffGroup.GroupType t)
      Veraltet.
      As of i-net PDFC 25.10, use instead getMarkerColor(ModificationType)
      Returns the color of the marker for a difference group of the given type
      Angegeben von:
      getMarkerColor in Schnittstelle ColorProvider
      Parameter:
      t - the type of the difference group
      Gibt zurück:
      the color of the marker for a difference group, should not be null
      Seit:
      3.20
    • getOutlineColor

      @Deprecated public @Nonnull Color getOutlineColor(DiffGroup.GroupType t)
      Veraltet.
      As of i-net PDFC 25.10, use instead getOutlineColor(ModificationType)
      Returns the color to mark the difference elements inside a difference group of the given type
      Angegeben von:
      getOutlineColor in Schnittstelle ColorProvider
      Parameter:
      t - the type of the difference group
      Gibt zurück:
      the color to mark the difference elements, should not be null
      Seit:
      3.20
    • getOutlineColor

      public @Nonnull Color getOutlineColor(Modification.ModificationType t)
      Returns the outline color for the given modification type.
      Angegeben von:
      getOutlineColor in Schnittstelle ColorProvider
      Parameter:
      t - the modification type for which the outline color is requested
      Gibt zurück:
      the outline color for the specified modification type, must not be null
      Seit:
      25.10
    • getMarkerColor

      public @Nonnull Color getMarkerColor(Modification.ModificationType t)
      Returns the color used to mark elements for a given modification type.
      Angegeben von:
      getMarkerColor in Schnittstelle ColorProvider
      Parameter:
      t - the modification type for which the marker color is requested
      Gibt zurück:
      the color for marking elements of the specified modification type, must not be null
      Seit:
      25.10